package com.richest.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantBaseMapper;
import com.richest.api.service.IMerchantBaseService;
import com.richest.bean.MerchantBaseBean;

/**
 * 企业基本信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantBaseServiceImpl implements IMerchantBaseService {

	@Autowired
	private MerchantBaseMapper mapper;

	@Override
	public Integer merchantBaseUpdate(MerchantBaseBean bean) {
		return mapper.merchantBaseUpdate(bean);
	}

	@Override
	public MerchantBaseBean merchantBaseSelectOne(Long id) {
		return mapper.merchantBaseSelectOne(id);
	}

}
